home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 January / january_2001.iso / intercd / root / ^4Developers / VB / visbasdb / VBDB / VBDB Code / VB6 Code / Class 6 / QuickExample10.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-09-14  |  4.0 KB  |  116 lines

  1. VERSION 5.00
  2. Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
  3. Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
  4. Begin VB.Form Form1 
  5.    Caption         =   "Form1"
  6.    ClientHeight    =   3195
  7.    ClientLeft      =   60
  8.    ClientTop       =   345
  9.    ClientWidth     =   6360
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   3195
  12.    ScaleWidth      =   6360
  13.    StartUpPosition =   3  'Windows Default
  14.    Begin MSAdodcLib.Adodc Adodc1 
  15.       Height          =   330
  16.       Left            =   2040
  17.       Top             =   2880
  18.       Width           =   2295
  19.       _ExtentX        =   4048
  20.       _ExtentY        =   582
  21.       ConnectMode     =   0
  22.       CursorLocation  =   3
  23.       IsolationLevel  =   -1
  24.       ConnectionTimeout=   15
  25.       CommandTimeout  =   30
  26.       CursorType      =   3
  27.       LockType        =   3
  28.       CommandType     =   2
  29.       CursorOptions   =   0
  30.       CacheSize       =   50
  31.       MaxRecords      =   0
  32.       BOFAction       =   0
  33.       EOFAction       =   0
  34.       ConnectStringType=   1
  35.       Appearance      =   1
  36.       BackColor       =   -2147483643
  37.       ForeColor       =   -2147483640
  38.       Orientation     =   0
  39.       Enabled         =   -1
  40.       Connect         =   "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=C:\VBDB\Working\Biblio.mdb"
  41.       OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=C:\VBDB\Working\Biblio.mdb"
  42.       OLEDBFile       =   ""
  43.       DataSourceName  =   ""
  44.       OtherAttributes =   ""
  45.       UserName        =   ""
  46.       Password        =   ""
  47.       RecordSource    =   "Titles"
  48.       Caption         =   "Adodc1"
  49.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  50.          Name            =   "MS Sans Serif"
  51.          Size            =   8.25
  52.          Charset         =   0
  53.          Weight          =   400
  54.          Underline       =   0   'False
  55.          Italic          =   0   'False
  56.          Strikethrough   =   0   'False
  57.       EndProperty
  58.       _Version        =   393216
  59.    End
  60.    Begin MSHierarchicalFlexGridLib.MSHFlexGrid MSHFlexGrid1 
  61.       Bindings        =   "QuickExample10.frx":0000
  62.       Height          =   2655
  63.       Left            =   120
  64.       TabIndex        =   0
  65.       Top             =   120
  66.       Width           =   6135
  67.       _ExtentX        =   10821
  68.       _ExtentY        =   4683
  69.       _Version        =   393216
  70.       Cols            =   8
  71.       FixedCols       =   0
  72.       AllowUserResizing=   1
  73.       _NumberOfBands  =   1
  74.       _Band(0).Cols   =   8
  75.       _Band(0).GridLinesBand=   1
  76.       _Band(0).TextStyleBand=   0
  77.       _Band(0).TextStyleHeader=   0
  78.       _Band(0)._NumMapCols=   8
  79.       _Band(0)._MapCol(0)._Name=   "PubID"
  80.       _Band(0)._MapCol(0)._RSIndex=   3
  81.       _Band(0)._MapCol(0)._Alignment=   7
  82.       _Band(0)._MapCol(1)._Name=   "Title"
  83.       _Band(0)._MapCol(1)._RSIndex=   0
  84.       _Band(0)._MapCol(2)._Name=   "Year Published"
  85.       _Band(0)._MapCol(2)._RSIndex=   1
  86.       _Band(0)._MapCol(2)._Alignment=   7
  87.       _Band(0)._MapCol(3)._Name=   "ISBN"
  88.       _Band(0)._MapCol(3)._RSIndex=   2
  89.       _Band(0)._MapCol(4)._Name=   "Description"
  90.       _Band(0)._MapCol(4)._RSIndex=   4
  91.       _Band(0)._MapCol(5)._Name=   "Notes"
  92.       _Band(0)._MapCol(5)._RSIndex=   5
  93.       _Band(0)._MapCol(6)._Name=   "Subject"
  94.       _Band(0)._MapCol(6)._RSIndex=   6
  95.       _Band(0)._MapCol(7)._Name=   "Comments"
  96.       _Band(0)._MapCol(7)._RSIndex=   7
  97.    End
  98. Attribute VB_Name = "Form1"
  99. Attribute VB_GlobalNameSpace = False
  100. Attribute VB_Creatable = False
  101. Attribute VB_PredeclaredId = True
  102. Attribute VB_Exposed = False
  103. Private Sub Form_Activate()
  104. Dim I As Integer
  105. MSHFlexGrid1.Row = 0
  106. For I = 0 To MSHFlexGrid1.Cols - 1
  107.   MSHFlexGrid1.Col = I
  108.   MSHFlexGrid1.CellAlignment = 4
  109.   MSHFlexGrid1.MergeCol(I) = True
  110. Next I
  111. MSHFlexGrid1.Col = 0
  112. MSHFlexGrid1.ColSel = MSHFlexGrid1.Cols - 1
  113. MSHFlexGrid1.Sort = flexSortGenericAscending
  114. MSHFlexGrid1.MergeCells = flexMergeRestrictColumns
  115. End Sub
  116.